package com.app.qbake.module.video.adapter;

import android.app.Activity;

import com.wind.base.adapter.BaseDelegateRecyclerAdapter;

public class VideoAdapter extends BaseDelegateRecyclerAdapter {

    private String type;
    VideoDelegate videoDelegate;
    public VideoAdapter(Activity activity,String type) {
        super(activity);
       this.type=type;
        videoDelegate.setType(type);
    }

    @Override
    protected void addDelegate() {
        videoDelegate=new VideoDelegate(mActivity);
        manager.addDelegate(videoDelegate);
    }
}
